home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Fun House 7
/
CD FunHouse 7 For The Macintosh (Wayzata)(1992).iso
/
• Word Games •
/
Will of Fortune •••
/
Will of Fortune еее.rsrc
/
CODE_3.txt
< prev
next >
Wrap
Text File
|
1989-03-23
|
9KB
|
172 lines
# near model CODE resource
# jump table entries: 64-75 (12 of them)
export_10:
00000000 206F 000C movea.l A0, [A7 + 0xC]
00000004 2050 movea.l A0, [A0]
00000006 7003 moveq.l D0, 0x03
00000008 C028 0044 and.b D0, [A0 + 0x44]
0000000C 72FC moveq.l D1, 0xFFFFFFFC
0000000E C338 0946 and.b [0x00000946 /* ChooserBits */], D1
00000012 8138 0946 or.b [0x00000946 /* ChooserBits */], D0
00000016 223C 000C 0000 move.l D1, 0xC0000
0000001C 6016 bra +0x18 /* 00000034 */
export_18:
0000001E 223C 0004 8004 move.l D1, 0x48004
00000024 600E bra +0x10 /* 00000034 */
export_8:
00000026 223C 0008 0008 move.l D1, 0x80008
0000002C 6006 bra +0x8 /* 00000034 */
export_14:
0000002E 223C 0004 000C move.l D1, 0x4000C
label00000034:
00000034 7003 moveq.l D0, 0x03
00000036 C038 0946 and.b D0, [0x00000946 /* ChooserBits */]
0000003A 605E bra +0x60 /* 0000009A */
0000003C 223C 0000 8000 move.l D1, 0x8000
00000042 7006 moveq.l D0, 0x06
00000044 6054 bra +0x56 /* 0000009A */
00000046 223C 000C 8000 move.l D1, 0xC8000
0000004C 7007 moveq.l D0, 0x07
0000004E 604A bra +0x4C /* 0000009A */
export_19:
00000050 223C 0004 8000 move.l D1, 0x48000
00000056 6036 bra +0x38 /* 0000008E */
export_15:
00000058 223C 0004 8004 move.l D1, 0x48004
0000005E 602E bra +0x30 /* 0000008E */
export_13:
00000060 223C 0004 8008 move.l D1, 0x48008
00000066 6026 bra +0x28 /* 0000008E */
00000068 223C 0004 000C move.l D1, 0x4000C
0000006E 601E bra +0x20 /* 0000008E */
00000070 223C 0004 0010 move.l D1, 0x40010
00000076 6016 bra +0x18 /* 0000008E */
00000078 223C 0008 8014 move.l D1, 0x88014
0000007E 600E bra +0x10 /* 0000008E */
export_11:
00000080 223C 0004 8018 move.l D1, 0x48018
00000086 6006 bra +0x8 /* 0000008E */
export_16:
00000088 223C 0008 801C move.l D1, 0x8801C
label0000008E:
0000008E 7004 moveq.l D0, 0x04
00000090 6008 bra +0xA /* 0000009A */
export_12:
00000092 223C 0014 8000 move.l D1, 0x148000
00000098 7005 moveq.l D0, 0x05
label0000009A:
0000009A 41FA 0050 lea.l A0, [PC + 0x50 /* 000000EC, value 0x0, cstring "" */]
0000009E 48D0 1810 movem.l [A0], D4,A3,A4
000000A2 2801 move.l D4, D1
000000A4 265F movea.l A3, [A7]+
000000A6 598F subq.l A7, 4
000000A8 2F3C 5044 4546 move.l -[A7], 0x50444546 /* 'PDEF' */
000000AE 3F00 move.w -[A7], D0
000000B0 A9A0 syscall GetResource
000000B2 201F move.l D0, [A7]+
000000B4 672A beq +0x2C /* 000000E0 */
000000B6 2840 movea.l A4, D0
000000B8 08D4 0007 bset.b [A4], 0x7
000000BC 2054 movea.l A0, [A4]
000000BE 7000 moveq.l D0, 0x00
000000C0 1004 move.b D0, D4
000000C2 D1C0 add.l A0, D0
000000C4 2F08 move.l -[A7], A0
000000C6 4217 clr.b [A7]
000000C8 205F movea.l A0, [A7]+
000000CA 4E90 jsr [A0]
000000CC 4A44 tst.w D4
000000CE 6A04 bpl +0x6 /* 000000D4 */
000000D0 0894 0007 bclr.b [A4], 0x7
label000000D4:
000000D4 224B movea.l A1, A3
000000D6 41FA 0014 lea.l A0, [PC + 0x14 /* 000000EC, value 0x0, cstring "" */]
000000DA 4CD0 1810 movem.l D4,A3,A4, [A0]
000000DE 4ED1 jmp [A1]
label000000E0:
000000E0 31FC FF40 0944 move.w [0x00000944 /* PrintErr */], 0xFF40
000000E6 4844 swap.w D4
000000E8 DEC4 add.w A7, D4
000000EA 60E8 bra -0x16 /* 000000D4 */
000000EC 0000 0000 ori.b D0, 0x0
000000F0 0000 0000 ori.b D0, 0x0
000000F4 0000 0000 ori.b D0, 0x0
fn000000F8:
000000F8 7018 moveq.l D0, 0x18
label000000FA:
000000FA 4267 clr.w -[A7]
000000FC 51C8 FFFC dbf D0, -0x6 /* 000000FA */
00000100 41FA 0014 lea.l A0, [PC + 0x14 /* 00000116, value 0x62E5072, pstring ".Print" */]
00000104 2F48 0012 move.l [A7 + 0x12], A0
00000108 204F movea.l A0, A7
0000010A A000 syscall Open/PBHOpen/HOpen
label0000010C:
0000010C DEFC 0032 add.w A7, 0x32 /* '2' */
00000110 31C0 0944 move.w [0x00000944 /* PrintErr */], D0
00000114 4E75 rts
00000116 062E 5072 696E addi.b [A6 + 0x696E], 0x72 /* 'r' */
0000011C 7420 moveq.l D2, 0x20
0000011E 9EFC 0032 sub.w A7, 0x32 /* '2' */
00000122 204F movea.l A0, A7
00000124 317C FFFD 0018 move.w [A0 + 0x18], 0xFFFD
0000012A A001 syscall Close
0000012C 60DE bra -0x20 /* 0000010C */
export_9:
0000012E 205F movea.l A0, [A7]+
00000130 225F movea.l A1, [A7]+
00000132 201F move.l D0, [A7]+
00000134 221F move.l D1, [A7]+
00000136 341F move.w D2, [A7]+
00000138 2F08 move.l -[A7], A0
0000013A 9EFC 0032 sub.w A7, 0x32 /* '2' */
0000013E 3F42 001A move.w [A7 + 0x1A], D2
00000142 2F41 001C move.l [A7 + 0x1C], D1
00000146 2F40 0020 move.l [A7 + 0x20], D0
0000014A 2F49 0024 move.l [A7 + 0x24], A1
0000014E 3F7C FFFD 0018 move.w [A7 + 0x18], 0xFFFD
00000154 204F movea.l A0, A7
00000156 A004 syscall Control
00000158 60B2 bra -0x4C /* 0000010C */
export_17:
0000015A 619C bsr -0x62 /* 000000F8 */
0000015C 6636 bne +0x38 /* 00000194 */
0000015E 7200 moveq.l D1, 0x00
00000160 6002 bra +0x4 /* 00000164 */
00000162 7201 moveq.l D1, 0x01
label00000164:
00000164 594F subq.w A7, 4
00000166 2F3C 5354 5220 move.l -[A7], 0x53545220 /* 'STR ' */
0000016C 3F3C E000 move.w -[A7], 0xE000
00000170 A9A0 syscall GetResource
00000172 201F move.l D0, [A7]+
00000174 672C beq +0x2E /* 000001A2 */
00000176 2240 movea.l A1, D0
00000178 554F subq.w A7, 2
0000017A 08D1 0007 bset.b [A1], 0x7
0000017E 2F11 move.l -[A7], [A1]
00000180 A997 syscall OpenResFile
00000182 301F move.w D0, [A7]+
00000184 0891 0007 bclr.b [A1], 0x7
00000188 610C bsr +0xE /* 00000196 */
0000018A 4A41 tst.w D1
0000018C 6706 beq +0x8 /* 00000194 */
0000018E 3F00 move.w -[A7], D0
00000190 A99A syscall CloseResFile
00000192 6102 bsr +0x4 /* 00000196 */
label00000194:
00000194 4E75 rts
fn00000196:
00000196 31F8 0A60 0944 move.w [0x00000944 /* PrintErr */], [0x00000A60 /* ResErr */]
0000019C 6702 beq +0x4 /* 000001A0 */
0000019E 584F addq.w A7, 4
label000001A0:
000001A0 4E75 rts
label000001A2:
000001A2 31FC FF40 0944 move.w [0x00000944 /* PrintErr */], 0xFF40
000001A8 4E75 rts
000001AA 3F78 0944 0004 move.w [A7 + 0x4], [0x00000944 /* PrintErr */]
000001B0 4E75 rts
000001B2 205F movea.l A0, [A7]+
000001B4 31DF 0944 move.w [0x00000944 /* PrintErr */], [A7]+
000001B8 4ED0 jmp [A0]